|
DX11 SET LIMB BUFFER
Assigns the given data buffer to the specified limb so that it can be accessed by its shaders.
A buffer stage [0..7] can optionally be provided for a total of 8 data buffers per limb.
Take note that textures and buffers share the same resource registers on the GPU. Textures will be bound to registers t0 through t15, while
buffers are bound to registers t16 through t23.
DX11 SET LIMB BUFFER limb, buffer, [stage]
limb Dword The limb to set the buffer to.
buffer Dword A buffer to make available to the shaders used to render the given limb. Set to nullptr to remove the currently bound buffer at the given stage.
[Optional] stage Dword The buffer stage to set the buffer for; the valid range is [0..7]. Defaults to 0. The used shader register will be tX where X = 16 + the buffer stage number.
This function does not return a value.
LIMB Functions Menu
DX11 Function Categories
|